package com.kotlin.flong.reflection

/**
 * @Author:liangjl
 * @Date: 2020/7/12-8:52
 * @Eamil:jilongliang@sina.com
 * @Description:
 */
class MyTest15 {
    var name: String = "Flin"
    var price: Double = 37.0
}

var title = "Hive"

fun main() {
    var topPro = ::title
    topPro.set("HBase")
    println(topPro.get())
    println(title)
    var classz = MyTest15()
    var clazzName = MyTest15::name

    println(clazzName)

    clazzName.set(classz,"Scala")
    println(clazzName.get(classz))



}